﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microhard.Core.DBUtility;
using AutoMapper;
using Microhard.Plat.CompanyChargingMng.DataAccess;
using Microhard.Plat.CompanyChargingMng.Models;

namespace Microhard.Plat.CompanyChargingMng.DTO
{
    public class CompanyChargingServerMapBuilder : IDTOBuilder
    {
        public void MappingBuild()
        {
            #region Company
            Mapper.CreateMap<CompanyModel, Company>();
            Mapper.CreateMap<Company, CompanyModel>();
            #endregion

            #region Employee
            Mapper.CreateMap<EmployeeModel, Employee>();
            Mapper.CreateMap<Employee, EmployeeModel>();
            #endregion

        }
    }
}
